/**
 * Created by xuwei on 2017/7/12.
 * 咨询回复相关接口
 */
import ajax from 'service/ajax'
const url1='/APICustomers/index'
const url2='/APIKeFu/customer_service_send_msg'
const url3='/APIMessage/new_message_count'
const url4='/APIMessage/Index'

export default {
    getInformation:(data = {})=>{
        return ajax({
            url: url1,
            data: data,
            method:'get'
        })
    },
    reply:(data = {})=>{
        return ajax({
            url: url2,
            data: data,
            method:'post'
        })
    },
    msgCount:(data = {})=>{
        return ajax({
            url: url3,
            data: data
        })
    },
    userMsgDetail:(data = {})=>{
        return ajax({
            url: url4,
            data: data
        })
    }
}